package com.raising.modules.code.entity;

import com.raising.framework.entity.BaseEntity;

/**
* 生成记录
* @author gaoyuan
* @createTime 2018-01-02 20:26:14
*/
public class CodeRecord extends BaseEntity<CodeRecord>{

    private static final long serialVersionUID = 1L;

    /** 序号 */
    private String sort;
    /** 模板标识 */
    private String templateId;
    /** 项目标识 */
    private String projectId;
    /** 结果(success、failure) */
    private String result;
    /** 模板名称 */
    private String templateName;
    /** 输出文件名称 */
    private String outName;
    /** 输出路径 */
    private String outPath;
    /** 作者 */
    private String author;
    /** 资源池标识 */
    private String poolId;
    /** 数据库名称 */
    private String dbName;

    public CodeRecord() {
        super();
    }
    public CodeRecord(String id){
        super(id);
    }

    public String getSort(){
        return sort;
    }

    public void setSort(String sort){
        this.sort = sort;
    }

    public String getTemplateId(){
        return templateId;
    }

    public void setTemplateId(String templateId){
        this.templateId = templateId;
    }

    public String getProjectId(){
        return projectId;
    }

    public void setProjectId(String projectId){
        this.projectId = projectId;
    }

    public String getResult(){
        return result;
    }

    public void setResult(String result){
        this.result = result;
    }

    public String getTemplateName(){
        return templateName;
    }

    public void setTemplateName(String templateName){
        this.templateName = templateName;
    }

    public String getOutName(){
        return outName;
    }

    public void setOutName(String outName){
        this.outName = outName;
    }

    public String getOutPath(){
        return outPath;
    }

    public void setOutPath(String outPath){
        this.outPath = outPath;
    }

    public String getAuthor(){
        return author;
    }

    public void setAuthor(String author){
        this.author = author;
    }

    public String getPoolId(){
        return poolId;
    }

    public void setPoolId(String poolId){
        this.poolId = poolId;
    }

    public String getDbName(){
        return dbName;
    }

    public void setDbName(String dbName){
        this.dbName = dbName;
    }

    @Override
    public String toString() {
        return "CodeRecord{" +
            "id='" + id + '\'' + ", " + 
            "sort='" + sort + '\'' + ", " + 
            "createBy='" + createBy + '\'' + ", " + 
            "createDate='" + createDate + '\'' + ", " + 
            "updateBy='" + updateBy + '\'' + ", " + 
            "updateDate='" + updateDate + '\'' + ", " + 
            "remarks='" + remarks + '\'' + ", " + 
            "status='" + status + '\'' + ", " + 
            "templateId='" + templateId + '\'' + ", " + 
            "projectId='" + projectId + '\'' + ", " + 
            "result='" + result + '\'' + ", " + 
            "templateName='" + templateName + '\'' + ", " + 
            "outName='" + outName + '\'' + ", " + 
            "outPath='" + outPath + '\'' + ", " + 
            "author='" + author + '\'' + ", " + 
            "poolId='" + poolId + '\'' + ", " + 
            "dbName='" + dbName + '\'' +
        '}';
    }
}
